package com.css.bjdt_core.reportPrepare.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;

import lombok.Data;

@Data
@Table("RPT_UNIT")
public class RptUnit {
	@Name
	@Column("ID")
	private String id;

	@Column("SIMPLENAME")
	private String name;

	@Column("FULLNAME")
	private String fullName;

	@Column("USPELL")
	private String spell;

	@Column("TEL")
	private String telephone;

	@Column("MOBILETEL")
	private String mobileTel;

	@Column("EMAIL")
	private String email;

	@Column("RELMAN")
	private String relMan;

	@Column("RELLEADER")
	private String relLeader;

	//单位类型1.非汇总单位2.汇总单位
	@Column("UNITTYPE")
	private String unitType;

	@Column("PID")
	private String pid;

	@Column("DELSTATUS")
	private String delStatus;

	@Column("ORDER_ID")
	private Integer orderId;

	private RptUnitAnnualRel rel;

	//组织类别
	private String zzlb;

	private boolean checked;

	private String reportStateName;

	private String operator;

	public enum UnitType {
		nonSumUnit("0"),
		
		sumUnit("1");
		
		private String key;

		UnitType(String key) {
			this.key = key;
		}

		public String getKey() {
			return key;
		}
	}
}
